package com.tfblog.blog.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tfblog.blog.entity.Comment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author tfeng
 * @since 2021-04-26
 * 评论的视图对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommentVO implements Serializable {

    private Long id;
    private Boolean adminComment;
    private String avatar;
    private String content;
    private Date createTime;
    private String email;
    private String nickname;
    private Long blogId;
    private Long parentCommentId;

    List<Comment> replycomments;
}
